package com.scalar.chiptrack.operations.wipflush;


/**
 * User: Administrator
 * Date: Oct 24, 2005
 * Time: 7:47:35 PM
 */
public class WipFlushDetails
{
    String partNumber;
    boolean leaveSpace = false; //used in JSP to leave the space before displaying this partnumber
    int cycleTimeNormal;
    float yield;
    String packageId;
    String processTypeName;
    int processStepId;
    int locationId;

    public String getPartNumber() {
        return partNumber;
    }

    public void setPartNumber(String partNumber) {
        this.partNumber = partNumber;
    }

    public boolean isLeaveSpace()
    {
        return leaveSpace;
    }

    public void setLeaveSpace(boolean leaveSpace)
    {
        this.leaveSpace = leaveSpace;
    }

    public int getCycleTimeNormal()
    {
        return cycleTimeNormal;
    }

    public void setCycleTimeNormal(int cycleTimeNormal)
    {
        this.cycleTimeNormal = cycleTimeNormal;
    }

    public float getYield()
    {
        return yield;
    }

    public void setYield(float yield)
    {
        this.yield = yield;
    }

    public String getPackageId()
    {
        return packageId;
    }

    public void setPackageId(String packageId)
    {
        this.packageId = packageId;
    }

    public String getProcessTypeName()
    {
        return processTypeName;
    }

    public void setProcessTypeName(String processTypeName)
    {
        this.processTypeName = processTypeName;
    }

    public int getProcessStepId()
    {
        return processStepId;
    }

    public void setProcessStepId(int processStepId)
    {
        this.processStepId = processStepId;
    }

    public int getLocationId()
    {
        return locationId;
    }

    public void setLocationId(int locationId)
    {
        this.locationId = locationId;
    }

    public boolean equals(Object obj)
    {
        if ( obj == null )
        {
            return false;
        }
        else
        {
            return partNumber.equals ( ((WipFlushDetails)obj).getPartNumber() );
        }
    }
}
